package net.learn.system.convert;

import net.learn.system.entity.SysPaperEntity;
import net.learn.system.entity.SysPaperQuestionEntity;
import net.learn.system.vo.SysPaperQuestionVO;
import net.learn.system.vo.SysPaperVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


@Mapper
public interface SysPaperQuestionConvert {
    SysPaperQuestionConvert INSTANCE = Mappers.getMapper(SysPaperQuestionConvert.class);

    SysPaperQuestionVO convert(SysPaperQuestionEntity entity);

    SysPaperQuestionEntity convert(SysPaperQuestionVO vo);

    List<SysPaperQuestionVO> convertList(List<SysPaperQuestionEntity> list);

}
